"""
3.用户输入一个"2019-7-26 20:30:30"和当前时间相比,一共过去了多少年多少月多少天到少小时多少分钟
"""
# import time
# s = "2019-7-26 20:30:30"
# s1 = time.strptime(s,"%Y-%m-%d %H:%M:%S")
# # print(s1)
# s2 = time.mktime(s1)
# # print(s2)
# s_time = time.time()
# time_ = s2 - s_time
# ss = time.gmtime(time_)
# print(f"{ss.tm_year-1970}年,{ss.tm_mon-1}月,{ss.tm_mday-1}日,{ss.tm_hour}时,{ss.tm_min}分,{ss.tm_sec}秒")

